<?php
/*
 * @Author: CHINAKAIYUAN<sunkaiyuan@namenode.cn>
 * @Date: 2022-02-02 19:42:06
 * @LastEditTime: 2023-11-06 17:10:12
 * @LastEditors: 孙开源 && sunkaiyuan@namenode.cn
 * @Description: 
 */

namespace App\Repositories;

use App\Models\PurchaseStorageDetails;


class PurchaseStorageDetailsRepository extends Repositories
    {
    protected $relation_models = ['instorage_way', 'tax', 'purchase_order' => ['main'], 'fauditor', 'in_creator',  'material', 'company', 'location', 'status', 'main' => ['department'], 'creator', 'car' => ['company'], 'carry' => ['company'], 'outfactory', 'attachments'];
    public function __construct(PurchaseStorageDetails $model)
        {
        $this->model = $model;
        parent::__construct();
        }
    }